package com.ay.smartpark.sdk.common.base;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.paas.annotation.PaasColumn;

import java.util.Date;

public class SdkBaseEntity {
    /**
     * 实体编号（唯一标识）
     */
    @PaasColumn(value = "id",name = "数据标识")
    protected Integer id;

    /**
     * 创建人
     */
    @PaasColumn(value = "owner",name = "数据拥有人")
    protected String owner;

    /**
     * 更新人
     */
    @PaasColumn(value = "modifier",name = "数据修改人")
    protected String modifier;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @PaasColumn(value = "created_at",name = "数据创建时间")
    protected Date created_at;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @PaasColumn(value = "last_modified",name = "数据修改时间")
    protected Date last_modified;

    @PaasColumn(value = "app_key",name = "")
    protected String app_key;

    @PaasColumn(value = "app_extend_key",name = "")
    protected String app_extend_key;

    @PaasColumn(value = "modified_method",name = "数据来源")
    protected String modified_method;

    /**
     * 状态标识（1 有效 0 删除）
     */
    @PaasColumn(value = "disable",name = "数据有效位")
    private Integer disable;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public Date getCreated_at() {
        return created_at;
    }

    public void setCreated_at(Date created_at) {
        this.created_at = created_at;
    }

    public Date getLast_modified() {
        return last_modified;
    }

    public void setLast_modified(Date last_modified) {
        this.last_modified = last_modified;
    }

    public String getApp_key() {
        return app_key;
    }

    public void setApp_key(String app_key) {
        this.app_key = app_key;
    }

    public String getApp_extend_key() {
        return app_extend_key;
    }

    public void setApp_extend_key(String app_extend_key) {
        this.app_extend_key = app_extend_key;
    }

    public String getModified_method() {
        return modified_method;
    }

    public void setModified_method(String modified_method) {
        this.modified_method = modified_method;
    }

    public Integer getDisable() {
        return disable;
    }

    public void setDisable(Integer disable) {
        this.disable = disable;
    }
}
